package com.openbravo.bean.erp;

import java.util.Date;

import com.openbravo.bean.Product;
import com.openbravo.bean.ref.I_RefProduct;

import cn.ekuma.data.dao.bean.I_AutoGeneratorStringKey;
import cn.ekuma.data.dao.bean.I_ModifiedLogBean;

public class OperationProduct implements I_ModifiedLogBean<String>,I_AutoGeneratorStringKey,I_RefProduct{
    /**
	 * 
	 */
	private static final long serialVersionUID = -7210727213592110251L;
	private String id;
    private String operationCategoryId;
    private String productId;
    private String attrsetinstId;
    private double units;
    private Date lastModified;
    private Product includeProduct;//包含的商品
	
	public OperationProduct() {
	}

	public OperationProduct(String operationCategoryId) {
		this.operationCategoryId=operationCategoryId;
	}

	@Override
	public String getKey() {
		return id;
	}

	@Override
	public Date getLastModified() {	
		return lastModified;
	}

	@Override
	public void setLastModified(Date lastModified) {
		this.lastModified=lastModified;	
	}

	@Override
	public void setKey(String key) {
		this.id=key;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOperationCategoryId() {
		return operationCategoryId;
	}

	public void setOperationCategoryId(String operationCategoryId) {
		this.operationCategoryId = operationCategoryId;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getAttrsetinstId() {
		return attrsetinstId;
	}

	public void setAttrsetinstId(String attrsetinstId) {
		this.attrsetinstId = attrsetinstId;
	}

	public double getUnits() {
		return units;
	}

	public void setUnits(double units) {
		this.units = units;
	}

	public void setIncludeProduct(Product object) {
		this.includeProduct=object;
	}

	public Product getIncludeProduct() {
		return includeProduct;
	}

	@Override
	public void setProductID(String productId) {
		this.productId = productId;
	}
	
}
